package com.cn.kehong.dao;

import com.cn.kehong.domain.ProductSaojieJob;
import com.cn.kehong.domain.ProductSaojiePeriod;
import com.cn.kehong.domain.ProductSaojiePeriodExample;
import java.util.List;

import com.cn.kehong.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface ProductSaojiePeriodMapper {
    int countByExample(ProductSaojiePeriodExample example);

    int deleteByExample(ProductSaojiePeriodExample example);

    int insert(ProductSaojiePeriod record);

    int insertSelective(ProductSaojiePeriod record);

    List<ProductSaojiePeriod> selectByExample(ProductSaojiePeriodExample example);

    List<ProductSaojiePeriod> selectProductSaojiePeriods(QueryForm queryForm);

    List<ProductSaojiePeriod> selectGzToSaojiePeriodDatas(String factoryName);

    List<ProductSaojiePeriod> selectProductSaojiePeriodsByStatus();

    ProductSaojiePeriod selectProductSaojiePeriodById(String id);

    int selectProductSaojiePeriodCount(QueryForm queryForm);

    int updateByExampleSelective(@Param("record") ProductSaojiePeriod record, @Param("example") ProductSaojiePeriodExample example);

    int updateByExample(@Param("record") ProductSaojiePeriod record, @Param("example") ProductSaojiePeriodExample example);

    int batchUpdateSaojiePeriods(List<ProductSaojiePeriod> records);
}